package edu.uclm.esi.tysweb.ajedrez.dominio;

import org.json.simple.JSONObject;

public class MensajeDisponibles {

	private String email1;
	private String email2;
	public MensajeDisponibles(String email1,String email2) {
		this.email1=email1;
		this.email2=email2;
	}

	public JSONObject toJSON() {
		JSONObject result=new JSONObject();
		result.put("tipo", "disponibles");
		result.put("email1",this.email1);
		result.put("email2",this.email2);
		return result;
	}
}
